package com.ltmonitor.jt808.service;

import com.ltmonitor.app.GpsConnection;
import com.ltmonitor.jt808.protocol.T808Message;

import java.util.Collection;

public interface IGpsConnectionService {
    GpsConnection getConnection(long sessionId, T808Message msg);

    GpsConnection getConnection(String simNo);

    void closeConnection(String simNo);

    Collection<GpsConnection> getAllConnections();
}
